package com.aiit.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class TeaOrderDTO implements Serializable {

    private Long id;

    private String username;

    private String productName;

    private String idNumber;

    private Integer price;

    private BigDecimal totalPrice;

    private Integer quantity;

    //订单号
    private String number;

    //订单状态 1待付款，2待派送，3已派送，4已完成，5已取消
    private Integer status = 1;

    private LocalDateTime paymentTime;

    private LocalDateTime dispatchTime;

    private LocalDateTime deliveryTime;
}
